[CI/CD] Reduce packaging time during releases#1396
Merged
sean-breen merged 13 commits intomainfrom Nov 21, 2025
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1396 +/- ##
==========================================
+ Coverage 86.24% 86.43% +0.18%
==========================================
Files 102 102
Lines 12603 12603
==========================================
+ Hits 10870 10893 +23
+ Misses 1257 1232 -25
- Partials 476 478 +2 see 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
aphralG
approved these changes
Nov 20, 2025
spencerugbo
approved these changes
Nov 20, 2025
Akshay2191
pushed a commit
that referenced
this pull request
Dec 18, 2025
* reduce packaging time by building only two binaries * use pushd * tidy up console output * perform string substitution when creating files for release packaging * remove docker build for FreeBSD packager * perform string sub on architecture var * update make target * [skip ci] clean up log output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Reduce time taken to package the Agent binary for each platform.
Previously we would build the agent binary every time we would run
nfpmfor a new platform. However, we can reduce the packaging time by building one binary per supported architecture, and packaging those. It involves creating a copy of the.nfpm.yamlconfiguration and replacing the placeholder strings with the appropriate architecture. Once the binaries are built for bothamd64andarm64, we can proceed to package them accordingly without the need to re-build.It also removes two jobs which were used for building packages for FreeBSD, which is no longer needed for v3.x.
It has other benefits as well:
Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTINGdocumentmake install-toolsand have attached any dependency changes to this pull requestREADME.md)